{% extends "base/base_index.html" %}
{% block main %}

<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">
						{{instance.first_name}}
					</h3>
				</div>

<ul class="list-group">
  <li class="list-group-item">用户ID:{{instance.id}}</li>
  <li class="list-group-item">{{extcredit1_name}}:{{instance.get_profile.extcredits1}}</li>
  <li class="list-group-item">{{extcredit2_name}}:{{instance.get_profile.extcredits2}}</li>
  <li class="list-group-item">积分:{{instance.get_profile.integral}}</li>
  <li class="list-group-item">分组:{{instance.id}}</li>
  <li class="list-group-item">主题数量:<a href="{%url bbsTheme_list_search%}?uid={{instance.id}}">{{instance.get_profile.themeCount}}</a></li>
  <li class="list-group-item">回复数量:<a href="{%url users_theme_reply_list%}?uid={{instance.id}}">{{instance.get_profile.replyCount}}</a></li>
  <li class="list-group-item">个性签名:{{instance.get_profile.signature}}</li>
  <li class="list-group-item">注册时间:{{instance.date_joined|date:"Y-m-d H:i:s"}}</li>
  <li class="list-group-item">最后登陆:{{instance.last_login|date:"Y-m-d H:i:s"}}</li>
</ul>
				<div class="panel-footer">
    {%if request.user.is_superuser%}
    <a href="{%url users_manage instance.id%}">管理用户</a>
    {%endif%}
				</div>
</div>


{% endblock %}
